How to find the critical value of a probability